package com.tensquare.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import util.IdWorker;

/**
 * @Auther: hjk
 * @Date: 2019/6/21 00:37
 * @Description:
 */
@SpringBootApplication
public class SearchAplication {

    public static void main(String[] args) {
        SpringApplication.run(SearchAplication.class,args);
    }

    @Bean
    public IdWorker idWorkker(){
        return new IdWorker(1, 1);
    }
}
